Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

pabs.sb Rd, Rs

Rd[31:24] = | Rs[31:24] |; Rd[23:16] = | Rs[23:16] |;
Rd[15:8] = | Rs[15:8] |; Rd[7:0] = | Rs[7:0] |;
{d, s} ∈ {0, 1, …, 15}

Rev1+

111000000000

Rs

001000111110

Rd

12

4

12

4

2

pabs.sh Rd, Rs

Rd[31:16] = | Rs[31:16] |;
Rd[15:0] = | Rs[15:0] |;
{d, s} ∈ {0, 1, …, 15}

Rev1+

111000000000

Rs

001000111111

Rd

12

4

12

4

Description

Compute the absolute values of four packed signed bytes (pabs.sb) or two packed signed half- words (pabs.sh) from the source register and store the results as packed bytes or halfwords in the destination register.

Status Flags:

Q:

Not affected.

V:

Not affected.

N:

Not affected.

Z:

Not affected.

C:

Not affected.